var cycleCompleted = false;
for (var file in filesByName) if (filesByName.hasOwnProperty(file)) { callback(wrapSQLError(error), null);
if (!anyError && migratedTables === tablesToMigrate && cycleCompleted)
callback(null, new UpdateStorage(this._db));
if (!anyError && migratedTables === tablesToMigrate)
callback(null, new UpdateStorage(this._db));
sqlError => callback(wrapSQLError(sqlError), null));
private _dropAllTables(transaction: SQLTransaction, callback: (error: SQLError) => void) { transaction: SQLTransaction,
properties: { [name: string]: string; }, callback: (error: SQLError) => void) { for (var propertyName in properties) if (properties.hasOwnProperty(propertyName)) { var value = properties[propertyName];
private _processTableNames(transaction: SQLTransaction, result: SQLResultSet, recipient: LoadStorageRecipient) { var length = result && result.rows ? result.rows.length : 0;
var ftab = this._extractFileNames(result);
recipient.completed(new UpdateStorage(this._db));
var reportedFileCount = 0;
'SELECT * FROM "' + ft.table + '"',